package cn.yuanqiao.cqbc.yqCarrierManage.service;

import cn.yuanqiao.cqbc.yqCarrierManage.domain.YqCarrierManage;

import java.util.List;

/**
 * <p>
 * 载体管理 服务类
 * </p>
 *
 * @author lyk
 * @since 2022-11-17
 */
public interface YqCarrierManageService  {

    /**
     * 新增
     *
     * @author lyk
     * @Date 2022-11-17
     */
    int add(YqCarrierManage param);

    int update(YqCarrierManage param);

    int delete(Long id);

    YqCarrierManage getById(Long id);

    int detection(YqCarrierManage yqCarrierManageParam);

    /**
     * 删除
     *
     * @author lyk
     * @Date 2022-11-17
     */
    //void delete(YqCarrierManage param);

    /**
     * 更新
     *
     * @author lyk
     * @Date 2022-11-17
     */
    //void update(YqCarrierManage param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author lyk
     * @Date 2022-11-17
     * @return
     */
    //YqCarrierManage findBySpec(YqCarrierManage param);

    /**
     * 查询列表，Specification模式
     *
     * @author lyk
     * @Date 2022-11-17
     */
    List<YqCarrierManage> findListBySpec(YqCarrierManage param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author lyk
     * @Date 2022-11-17
     */
     //LayuiPageInfo findPageBySpec(YqCarrierManageParam param);

    int getNumByCode(String code);
}
